From: Joseph Marrero Corchado Date: Wed, 24 Jun 2026 14:59:39 +0000 (-0400) Subject: ci: Use dnf instead of rpm to install built RPMs in container X-Git-Tag: archive/raspbian/2026.2-1+rpi1^2~9^2^2~9^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fa1c6c009c4f81ba40873707c211b564a01a7b34;p=ostree.git ci: Use dnf instead of rpm to install built RPMs in container This allows dependency resolution to handle soname changes (e.g. gpgme 1.x to 2.x) instead of silently installing mismatched libraries. --- diff --git a/Dockerfile b/Dockerfile index 43edd194..b107cd21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,7 +77,7 @@ RUN --network=none \ FROM $base as rootfs COPY --from=rpmbuild /rpms/*.rpm /tmp/rpms/ RUN ls /tmp/rpms/ && \ - rpm -Uvh --oldpackage $(ls /tmp/rpms/ostree-*.rpm | grep -v -e devel -e debug) && \ + dnf -y install --allowerasing $(ls /tmp/rpms/ostree-*.rpm | grep -v -e devel -e debug) && \ rm -rf /tmp/rpms # The default final container, with also a regenerated